/*
* @Author: Slience
* @Date:   2019-07-09 11:36:31
* @Last Modified by:   Sean
* @Last Modified time: 2019-09-17 01:23:43
*/
import request from '@/plugins/request'
import url from '@/plugins/url'

export function get_image(data) {
  return request({
    url: url('/api/files/getLists'),
    method: 'POST',
    data: data
  })
}

export function get_group(data){
  return request({
    url: url('/api/files/getGroup'),
    method: 'POST',
    data: data
  })
}

export function add_group(data){
  return request({
    url: url('/api/files/addGroup'),
    method: 'POST',
    data: data
  })
}

export function del_group(data){
  return request({
    url: url('/api/files/delGroup'),
    method: 'POST',
    data: data
  })
}

export function edit_group(data){
  return request({
    url: url('/api/files/editGroup'),
    method: 'POST',
    data: data
  })
}

export function move_edit(data){
  return request({
    url: url('/api/files/edit'),
    method: 'POST',
    data: data
  })
}

export function del_images(data){
  return request({
    url: url('/api/files/del'),
    method: 'POST',
    data: data
  })
}